package com.smartprofessor.dao;

import com.smartprofessor.entity.R2p;
import com.smartprofessor.entity.R2pExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface R2pDao {
    long countByExample(R2pExample example);

    int deleteByExample(R2pExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(R2p record);

    int insertSelective(R2p record);

    List<R2p> selectByExample(R2pExample example);

    R2p selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") R2p record, @Param("example") R2pExample example);

    int updateByExample(@Param("record") R2p record, @Param("example") R2pExample example);

    int updateByPrimaryKeySelective(R2p record);

    int updateByPrimaryKey(R2p record);
}